DeepL - Translate Text
(7 actions, 8 KB)
0 Comment
https://developers.deepl.com/docs/api-reference/translate
1 Get Dictionary from
[Shortcut Input]
»
2 Set Variable
Request Body
to
[1 Dictionary]
3 DataJar > GetValueIntent »
keyPath
:
API Credentials.DeepL
4 Get Contents of URL
https://api-free.deepl.com/v2/translate
»
RequestVariable
:
[Request Body]
HTTPHeaders
:
{ "Authorization": "DeepL-Auth-Key
[3 Value
as Dictionary.apiKey
]
", "Content-Type": "application/json" }
ShowHeaders
:
true
HTTPMethod
:
POST
HTTPBodyType
:
File
5 Get Dictionary Value for
translations.1.text
in
[4 Contents of URL]
»
6 Stop and Output
[5 Dictionary Value]